package com.weidian.mobile.open.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.weidian.mobile.open.pojo.SaleMachine;

public interface SaleMachineRepository extends JpaRepository<SaleMachine, Long>{
	
	public List<SaleMachine> findByUserId(Integer userId);
	
	public SaleMachine findByMeid(String meid);
	
	public SaleMachine findByUserIdAndMeid(Integer userId, String meid);
	
	public SaleMachine findById(Integer id);

}
